package com.ruoyi.project.dict.shuowenmapper.service;

import com.ruoyi.project.dict.shuowenmapper.domain.ShuowenMapper;

import java.util.List;

/**
 * 难检匹配Service接口
 *
 * @author shixiangwen
 * @date 2022-06-02
 */
public interface IShuowenMapperService {
    /**
     * 查询难检匹配
     *
     * @param id 难检匹配ID
     * @return 难检匹配
     */
    public ShuowenMapper selectShuowenMapperById(Long id);

    /**
     * 查询难检匹配列表
     *
     * @param shuowenMapper 难检匹配
     * @return 难检匹配集合
     */
    public List<ShuowenMapper> selectShuowenMapperList(ShuowenMapper shuowenMapper);

    /**
     * 新增难检匹配
     *
     * @param shuowenMapper 难检匹配
     * @return 结果
     */
    public int insertShuowenMapper(ShuowenMapper shuowenMapper);

    /**
     * 修改难检匹配
     *
     * @param shuowenMapper 难检匹配
     * @return 结果
     */
    public int updateShuowenMapper(ShuowenMapper shuowenMapper);

    /**
     * 批量删除难检匹配
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteShuowenMapperByIds(String ids);

    /**
     * 删除难检匹配信息
     *
     * @param id 难检匹配ID
     * @return 结果
     */
    public int deleteShuowenMapperById(Long id);

    /**
     * 更新状态
     *
     * @param id
     * @param status
     * @return
     */
    public boolean updateStatus(Long id, Integer status);
}
